<template>
    <h5>父组件</h5>
    <div class="box">
        <GlobalComponent/>
        <LocalCompoent/>
    </div>
</template>

<style>
.box{
    display: flex;
}
h5{
    border: 1px dotted black;
}


</style>

<script setup>
import GlobalComponent from './GlobalComponent.vue';
import LocalCompoent from './LocalCompoent.vue';
</script>